/home/uspekh/uspekh.pro/docs/framework/web/CHttpRequest.php(763)
751 /** 752 * Redirects the browser to the specified URL. 753 * @param string $url URL to be redirected to. If the URL is a relative one, the base URL of 754 * the application will be inserted at the beginning. 755 * @param boolean $terminate whether to terminate the current application 756 * @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html} 757 * for details about HTTP status code. 758 */ 759 public function redirect($url,$terminate=true,$statusCode=302) 760 { 761 if(strpos($url,'/')===0) 762 $url=$this->getHostInfo().$url; 763 header('Location: '.$url, true, $statusCode); 764 if($terminate) 765 Yii::app()->end(); 766 } 767 768 /** 769 * Returns the user preferred language. 770 * The returned language ID will be canonicalized using {@link CLocale::getCanonicalID}. 771 * This method returns false if the user does not have language preference. 772 * @return string the user preferred language. 773 */ 774 public function getPreferredLanguage() 775 {
#0 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/CHttpRequest.php(763): header("Location: http://uspekh.pro/error/", true, 302) 758 */ 759 public function redirect($url,$terminate=true,$statusCode=302) 760 { 761 if(strpos($url,'/')===0) 762 $url=$this->getHostInfo().$url; 763 header('Location: '.$url, true, $statusCode); 764 if($terminate) 765 Yii::app()->end(); 766 } 767 768 /** |
#1 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/CController.php(1031): CHttpRequest->redirect("http://uspekh.pro/error/", true, 302) 1026 if(is_array($url)) 1027 { 1028 $route=isset($url[0]) ? $url[0] : ''; 1029 $url=$this->createUrl($route,array_splice($url,1)); 1030 } 1031 Yii::app()->getRequest()->redirect($url,$terminate,$statusCode); 1032 } 1033 1034 /** 1035 * Refreshes the current page. 1036 * The effect of this method call is the same as user pressing the |
#2 |
+
–
/home/uspekh/uspekh.pro/docs/protected/controllers/frontend/ProjectsController.php(99): CController->redirect("/error/") 094 $this->description = $data->name; 095 096 $this->render('show', array('data' => $data)); 097 098 } else { 099 $this->redirect('/error/'); 100 } 101 } 102 103 } |
#3 |
unknown(0): ProjectsController->actionShow(null)
|
#4 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(ProjectsController, array(null)) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
#5 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(ProjectsController, ReflectionMethod, array("bahis siteleri 2024" => "")) 43 { 44 $methodName='action'.$this->getId(); 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#6 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/CController.php(309): CInlineAction->runWithParams(array("bahis siteleri 2024" => "")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#7 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#8 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#9 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/CWebApplication.php(283): CController->run("show") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#10 |
+
–
/home/uspekh/uspekh.pro/docs/framework/web/CWebApplication.php(142): CWebApplication->runController("projects/show/bahis siteleri 2024") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#11 |
+
–
/home/uspekh/uspekh.pro/docs/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#12 |
+
–
/home/uspekh/uspekh.pro/docs/protected/behaviors/WebApplicationEndBehavior.php(24): CApplication->run() 19 20 // обрабатываем событие создания модуля 21 $this->onModuleCreate = array($this, 'changeModulePaths'); 22 $this->onModuleCreate(new CEvent ($this->owner)); 23 24 $this->owner->run(); 25 } 26 27 // обработчик события onModuleCreate 28 public function onModuleCreate($event) 29 { |
#13 |
+
–
/home/uspekh/uspekh.pro/docs/framework/base/CComponent.php(261): WebApplicationEndBehavior->runEnd("frontend") 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#14 |
+
–
/home/uspekh/uspekh.pro/docs/index.php(47): CComponent->__call("runEnd", array("frontend")) 42 public static function app() { 43 return parent::app(); 44 } 45 } 46 47 Yii::createWebApplication($config)->runEnd('frontend'); |